package com.dave.gd.sysmgr.domain.mapper;

import java.util.List;

import com.dave.gd.core.base.mapper.BaseModelMapper;
import com.dave.gd.sysmgr.domain.entity.Permission;

public interface PermissionMapper  extends BaseModelMapper<Permission>{
    /**
     * 
     * .通过用户名查询
     * 
     * @param uid
     * @return
     * @author yangdafu
     * 2015年4月28日 yangdafu
     */
    List<Permission> queryByUid(long uid);
    
    Permission queryByPID(long pid); 
}
